package com.geovis.emergency.spd.entity.pc.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PcDrillPublishEventDTO对象", description="事件下发DTO")
public class PcDrillPublishEventDTO {
    @ApiModelProperty(value = "id")
    @NotEmpty(message = "演练id 不能为空")
    private String id;

    @ApiModelProperty(value = "内容")
    @NotEmpty(message = "内容不能为空")
    private String content;

    @ApiModelProperty(value = "提交时间")
    @NotEmpty(message = "提交时间不能为空")
    private LocalDateTime submitTime;


    @ApiModelProperty(value = "响应")
    @NotEmpty(message = "不能为空")
    private String responseAction;
}
